#pragma once
#include "RobotPart.h"

class Missiles: public RobotPart
{
public:
	Missiles(void);
	void display();
	void switchTexture();
	void animate();
	void reset();
	float getHeight();
	void setAngle(GLfloat);
	~Missiles(void);
private:
	void loadImage();

	// orientation of the robot in radians
	GLfloat angle;

	// animation
	GLfloat oldX;
	GLfloat oldZ;

	// texture
	GLuint currentTextureBase;
	GLuint textureBase1;
	GLuint textureBase2;

	GLfloat width;
	GLfloat lenght;
	GLfloat height;
	GLfloat sizeMissiles;
	GLfloat lenghtMissiles;
	GLUquadricObj* quad;
};

